﻿mainModule.controller("simpleFilterCtrl", ["$scope", "$rootScope", "itemSvc", "notification", "pageState", "columnSvc", "$routeParams", "cache", "articleSvc", function ($scope, $rootScope, itemSvc, notification, pageState, columnSvc, $routeParams, cache, articleSvc) {
    $scope.query = { Message: "" };
    $scope.search = function () {
        $scope.$emit('listReload', $scope.query);
    };
    $scope.cancel = function () {        
        $scope.toggleFilter();
    };
}])